package com.keke.beauty.sys.user.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.Data;

@Data
public class SysUser {
    
    private Integer id; // 主键

    private Integer activityId;

    private String username; // 账号
    
    private String nickname; // 昵称
    
    @JsonIgnore
    private String password; // 密码
    
    private Integer pic; // 头像id

    private Date createTime; // 注册时间

    @JsonIgnore
    private Integer creater; // 创建人

    @JsonIgnore
    private Date modifyTime; // 修改时间

    @JsonIgnore
    private Integer modifer; // 修改人
    
    private short type; // 账号类型（0: 超级管理员，1：管理员，2: 美容院）

    @JsonIgnore
    private short status; // 账户状态(见枚举)

    @JsonIgnore
    private short del; // 状态：（0：正常，1：删除）

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getPic() {
        return pic;
    }

    public void setPic(Integer pic) {
        this.pic = pic;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreater() {
        return creater;
    }

    public void setCreater(Integer creater) {
        this.creater = creater;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getModifer() {
        return modifer;
    }

    public void setModifer(Integer modifer) {
        this.modifer = modifer;
    }

    public short getType() {
        return type;
    }

    public void setType(short type) {
        this.type = type;
    }

    public short getStatus() {
        return status;
    }

    public void setStatus(short status) {
        this.status = status;
    }

    public short getDel() {
        return del;
    }

    public void setDel(short del) {
        this.del = del;
    }
}